import axios from '@/components/util/AxiosPlugin';

/** 用户登陆 */
export function logout(form, callback) {
    return axios.post('/publish-gateway/user/logout', form).then(()=> callback()).catch(e => GlobalUtil.catchError(e));
}